import { defineComponent } from "vue";
import { useYdStore } from "../hooks";
export default defineComponent({
  name: "HelloWorld",
  props: {
    msg: String,
  },
  data() {
    return {
      count: 0,
    };
  },
  setup(props) {
    const { state, getters, dispatch } = useYdStore();
    console.log("🍊", state.user.loading);
    console.log("🚀", getters["user/isLogin"]);
  },
});
